package club.zhcs.cms.bean.cms;

import java.util.Date;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.lang.Times;

import com.kerbores.utils.db.data.Entity;

/**
 * 
 * @author Kerbores(kerbores@gmail.com)
 *
 * @project cms
 *
 * @file Apply.java
 *
 * @description 资料申请
 *
 * @copyright 内部代码,禁止转发
 *
 * @time 2016年5月12日 下午1:21:40
 *
 */
@Table("t_apply")
@Comment("资料申请")
public class Apply extends Entity {

	@Column("a_company")
	@Comment("公司名称")
	private String company;

	@Column("a_name")
	@Comment("申请人姓名")
	private String name;

	@Column("a_phone")
	@Comment("申请人电话")
	private String phone;

	@Column("a_email")
	@Comment("申请人邮箱")
	private String email;

	@Column("a_industry")
	@Comment("申请人行业")
	private String industry;

	@Column("a_apply_time")
	@Comment("申请时间")
	private Date applyTime = Times.now();

	@Column("a_desc")
	@Comment("留言描述")
	@ColDefine(width = 21845, type = ColType.TEXT)
	private String description;

	@Column("a_checked_time")
	@Comment("处理时间")
	private Date sentTime;

	@Column("a_status")
	@Comment("状态")
	private ApplyStatus status = ApplyStatus.NEW;
}
